<template>
  <div>
      <el-row :gutter="10">
          <el-switch v-model="value" 
          active-color="#13ce66"
           inactive-color="#ff4949"
           active-text="开"
           inactive-text="关"
           :active-value="1"
           :inactive-value="0"
           ></el-switch>
      </el-row>
  </div>
</template>

<script>
export default {
    data(){
        return{
            value:1
        }
    }
}
</script>

<style>

</style>